package com.example.shoppingmall.service;

import com.example.shoppingmall.pojo.Reply;
import com.example.shoppingmall.dao.ReplyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReplyService {
    @Autowired
    private ReplyMapper replyMapper;

    public int add(Reply reply){
        return replyMapper.add(reply);
    }

    public Reply xiangQing(@Param("orderno")String orderno){
        return replyMapper.xiangQing(orderno);
    }

}
